﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BookSleeve;

namespace Codeplex.Data
{
    public class HashMapperConfig
    {
        public int Db { get; private set; }
        public string KeyPrefix { get; private set; }
        public Func<ISerializeProvider> SerializeProviderFactory { get; private set; }

        public HashMapperConfig(int db, string keyPrefix, Func<ISerializeProvider> serializeProviderFactory)
        {
            this.Db = db;
            this.KeyPrefix = keyPrefix;
            this.SerializeProviderFactory = serializeProviderFactory;
        }
    }
}
